﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Index</title>
    <!--Form插件CSS-->
    <link rel="Stylesheet" href="../../Content/Shared/jqtransform/jqtransform.css" type="text/css" />
    <!--JQuery JS库-->
    <script type="text/javascript" language="javascript" src="../../Scripts/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" language="javascript" src="../../Scripts/web.plugins.js"></script>
    <!--Form插件 JS库-->
    <script type="text/javascript" language="javascript" src="../../Scripts/jquery.jqtransform.min.js"></script>
    <!--实例化JS库-->
    <script type="text/javascript" language="javascript" src="../../Scripts/web.init.js"></script>
</head>
<body>
    <div>
        <form action="/home/submit" method="POST">
        <div class="rowElem">
            <label>
                用户名：</label><input type="text" name="inputtext" /></div>
        <div class="rowElem">
            <label>
                密码：</label><input type="password" name="password" /></div>
        <div class="rowElem">
            <label>
                多选框：
            </label>
            <input type="checkbox" name="chbox" id=""></div>
        <div class="rowElem">
            <label>
                单选：/label>
                <input type="radio" id="" name="question" value="oui" checked><label>oui</label>
                <input type="radio" id="" name="question" value="non"><label>non</label></div>
        <div class="rowElem">
            <label>
                多行文本：</label>
            <textarea cols="40" rows="12" name="mytext"></textarea></div>
        <div class="rowElem">
            <label>
                Select :</label>
            <select name="select">
                <option value="">1&nbsp;</option>
                <option value="opt1">2&nbsp;</option>
            </select>
        </div>
        <div class="rowElem">
            <label>
                下拉框：</label>
            <select name="select2" selectedvalue="opt4" style="font-size:large;" class="combox">
                <option value="opt1">Big Option test line with more wordssss</option>
                <option value="opt2">Option 2</option>
                <option value="opt3">Option 3</option>
                <option value="opt4">Option 4</option>
                <option value="opt5">Option 5</option>
                <option value="opt6">Option 6</option>
                <option value="opt7">Option 7</option>
                <option value="opt8">Option 8</option>
            </select>
        </div>
        <div class="rowElem">
            <label>
                数据：</label>
            <select name="select2" class="combox">
                <% 
                    IDictionary<string, int> lc = TempData["LC"] as Rainr.Utilities.Collections.ListDictionary<string, int>;
                    foreach (string key in lc.Keys)
                    {
                        int v = lc[key];
                %>
                <option value="<%=v %>">
                    <%=key %>
                </option>
                <%
                    }
                %>
            </select>
        </div>
        <div class="rowElem">
            <label>
                Submit button:</label><input type="submit" value="Envoyer" /></div>
        <div class="rowElem">
            <label>
                Reset button:</label><input type="reset" value="Annuler" /></div>
        <div class="rowElem">
            <label>
                Input button:</label><input type="button" value="bouton" /></div>
        </form>
        <iframe src="" >
        </iframe>
    </div>
</body>
</html>
